package com.eshop.print;

import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class PrintOrderDataVO implements Serializable
{
    @ApiModelProperty("订单号")
    private String orderId;
    @ApiModelProperty("实际支付金额")
    private BigDecimal payPrice;
    @ApiModelProperty("用户姓名")
    private String realName;
    @ApiModelProperty("详细地址")
    private String userAddress;
    @ApiModelProperty("用户电话")
    private String userPhone;
    @ApiModelProperty("备注")
    private String mark;
    @ApiModelProperty("门店名称")
    private String storeName;
    
    public static PrintOrderDataVOBuilder builder() {
        return new PrintOrderDataVOBuilder();
    }
    
    public String getOrderId() {
        return this.orderId;
    }
    
    public BigDecimal getPayPrice() {
        return this.payPrice;
    }
    
    public String getRealName() {
        return this.realName;
    }
    
    public String getUserAddress() {
        return this.userAddress;
    }
    
    public String getUserPhone() {
        return this.userPhone;
    }
    
    public String getMark() {
        return this.mark;
    }
    
    public String getStoreName() {
        return this.storeName;
    }
    
    public void setOrderId(final String orderId) {
        this.orderId = orderId;
    }
    
    public void setPayPrice(final BigDecimal payPrice) {
        this.payPrice = payPrice;
    }
    
    public void setRealName(final String realName) {
        this.realName = realName;
    }
    
    public void setUserAddress(final String userAddress) {
        this.userAddress = userAddress;
    }
    
    public void setUserPhone(final String userPhone) {
        this.userPhone = userPhone;
    }
    
    public void setMark(final String mark) {
        this.mark = mark;
    }
    
    public void setStoreName(final String storeName) {
        this.storeName = storeName;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof PrintOrderDataVO)) {
            return false;
        }
        final PrintOrderDataVO other = (PrintOrderDataVO)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$orderId = this.getOrderId();
        final Object other$orderId = other.getOrderId();
        Label_0065: {
            if (this$orderId == null) {
                if (other$orderId == null) {
                    break Label_0065;
                }
            }
            else if (this$orderId.equals(other$orderId)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$payPrice = this.getPayPrice();
        final Object other$payPrice = other.getPayPrice();
        Label_0102: {
            if (this$payPrice == null) {
                if (other$payPrice == null) {
                    break Label_0102;
                }
            }
            else if (this$payPrice.equals(other$payPrice)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$realName = this.getRealName();
        final Object other$realName = other.getRealName();
        Label_0139: {
            if (this$realName == null) {
                if (other$realName == null) {
                    break Label_0139;
                }
            }
            else if (this$realName.equals(other$realName)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$userAddress = this.getUserAddress();
        final Object other$userAddress = other.getUserAddress();
        Label_0176: {
            if (this$userAddress == null) {
                if (other$userAddress == null) {
                    break Label_0176;
                }
            }
            else if (this$userAddress.equals(other$userAddress)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$userPhone = this.getUserPhone();
        final Object other$userPhone = other.getUserPhone();
        Label_0213: {
            if (this$userPhone == null) {
                if (other$userPhone == null) {
                    break Label_0213;
                }
            }
            else if (this$userPhone.equals(other$userPhone)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$mark = this.getMark();
        final Object other$mark = other.getMark();
        Label_0250: {
            if (this$mark == null) {
                if (other$mark == null) {
                    break Label_0250;
                }
            }
            else if (this$mark.equals(other$mark)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$storeName = this.getStoreName();
        final Object other$storeName = other.getStoreName();
        if (this$storeName == null) {
            if (other$storeName == null) {
                return true;
            }
        }
        else if (this$storeName.equals(other$storeName)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof PrintOrderDataVO;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $orderId = this.getOrderId();
        result = result * 59 + (($orderId == null) ? 43 : $orderId.hashCode());
        final Object $payPrice = this.getPayPrice();
        result = result * 59 + (($payPrice == null) ? 43 : $payPrice.hashCode());
        final Object $realName = this.getRealName();
        result = result * 59 + (($realName == null) ? 43 : $realName.hashCode());
        final Object $userAddress = this.getUserAddress();
        result = result * 59 + (($userAddress == null) ? 43 : $userAddress.hashCode());
        final Object $userPhone = this.getUserPhone();
        result = result * 59 + (($userPhone == null) ? 43 : $userPhone.hashCode());
        final Object $mark = this.getMark();
        result = result * 59 + (($mark == null) ? 43 : $mark.hashCode());
        final Object $storeName = this.getStoreName();
        result = result * 59 + (($storeName == null) ? 43 : $storeName.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "PrintOrderDataVO(orderId=" + this.getOrderId() + ", payPrice=" + this.getPayPrice() + ", realName=" + this.getRealName() + ", userAddress=" + this.getUserAddress() + ", userPhone=" + this.getUserPhone() + ", mark=" + this.getMark() + ", storeName=" + this.getStoreName() + ")";
    }
    
    public PrintOrderDataVO() {
    }
    
    public PrintOrderDataVO(final String orderId, final BigDecimal payPrice, final String realName, final String userAddress, final String userPhone, final String mark, final String storeName) {
        this.orderId = orderId;
        this.payPrice = payPrice;
        this.realName = realName;
        this.userAddress = userAddress;
        this.userPhone = userPhone;
        this.mark = mark;
        this.storeName = storeName;
    }
    
    public static class PrintOrderDataVOBuilder
    {
        private String orderId;
        private BigDecimal payPrice;
        private String realName;
        private String userAddress;
        private String userPhone;
        private String mark;
        private String storeName;
        
        PrintOrderDataVOBuilder() {
        }
        
        public PrintOrderDataVOBuilder orderId(final String orderId) {
            this.orderId = orderId;
            return this;
        }
        
        public PrintOrderDataVOBuilder payPrice(final BigDecimal payPrice) {
            this.payPrice = payPrice;
            return this;
        }
        
        public PrintOrderDataVOBuilder realName(final String realName) {
            this.realName = realName;
            return this;
        }
        
        public PrintOrderDataVOBuilder userAddress(final String userAddress) {
            this.userAddress = userAddress;
            return this;
        }
        
        public PrintOrderDataVOBuilder userPhone(final String userPhone) {
            this.userPhone = userPhone;
            return this;
        }
        
        public PrintOrderDataVOBuilder mark(final String mark) {
            this.mark = mark;
            return this;
        }
        
        public PrintOrderDataVOBuilder storeName(final String storeName) {
            this.storeName = storeName;
            return this;
        }
        
        public PrintOrderDataVO build() {
            return new PrintOrderDataVO(this.orderId, this.payPrice, this.realName, this.userAddress, this.userPhone, this.mark, this.storeName);
        }
        
        @Override
        public String toString() {
            return "PrintOrderDataVO.PrintOrderDataVOBuilder(orderId=" + this.orderId + ", payPrice=" + this.payPrice + ", realName=" + this.realName + ", userAddress=" + this.userAddress + ", userPhone=" + this.userPhone + ", mark=" + this.mark + ", storeName=" + this.storeName + ")";
        }
    }
}
